package cn.miju.admin.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <pre>
 * 获取字典树
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-04-06 16:42
 */
@Data
@ApiModel
public class DictTreeOutVO {
    /**
     * 字典ID
     */
    @ApiModelProperty(value = "字典ID")
    private Long id;
    /**
     * 父字典ID
     */
    @ApiModelProperty(value = "父字典ID")
    private Long parentId;
    /**
     * 字典代码
     */
    @ApiModelProperty(value = "字典代码")
    private String code;
    /**
     * 字典名称
     */
    @ApiModelProperty(value = "字典名称")
    private String name;
    /**
     * 子字典列表
     */
    @ApiModelProperty(value = "子字典列表")
    private List<DictTreeOutVO> children;
}
